from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1216, 870)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.button_in = QtWidgets.QToolButton(self.centralwidget)
        self.button_in.setGeometry(QtCore.QRect(10, 70, 81, 21))
        self.button_in.setObjectName("button_in")
        self.line_file_in = QtWidgets.QLineEdit(self.centralwidget)
        self.line_file_in.setGeometry(QtCore.QRect(100, 70, 1071, 21))
        self.line_file_in.setObjectName("line_file_in")
        self.data_table = QtWidgets.QTableWidget(self.centralwidget)
        self.data_table.setGeometry(QtCore.QRect(10, 140, 1161, 611))
        self.data_table.setObjectName("data_table")
        self.data_table.setColumnCount(11)
        self.data_table.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(4, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(5, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(6, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(7, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(8, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(9, item)
        item = QtWidgets.QTableWidgetItem()
        self.data_table.setHorizontalHeaderItem(10, item)
        self.line_file_out = QtWidgets.QLineEdit(self.centralwidget)
        self.line_file_out.setGeometry(QtCore.QRect(100, 100, 1071, 21))
        self.line_file_out.setObjectName("line_file_out")
        self.button_out = QtWidgets.QToolButton(self.centralwidget)
        self.button_out.setGeometry(QtCore.QRect(10, 100, 81, 21))
        self.button_out.setObjectName("button_out")
        self.btn_end = QtWidgets.QPushButton(self.centralwidget)
        self.btn_end.setGeometry(QtCore.QRect(590, 780, 93, 32))
        font = QtGui.QFont()
        font.setFamily("微软雅黑 Light")
        font.setPointSize(12)
        self.btn_end.setFont(font)
        self.btn_end.setObjectName("btn_end")
        self.btn_star = QtWidgets.QPushButton(self.centralwidget)
        self.btn_star.setGeometry(QtCore.QRect(440, 780, 93, 32))
        font = QtGui.QFont()
        font.setFamily("微软雅黑 Light")
        font.setPointSize(12)
        self.btn_star.setFont(font)
        self.btn_star.setObjectName("btn_star")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(10, 10, 101, 31))
        font = QtGui.QFont()
        font.setFamily("Adobe Devanagari")
        font.setPointSize(12)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.radio_day = QtWidgets.QRadioButton(self.centralwidget)
        self.radio_day.setGeometry(QtCore.QRect(110, 15, 89, 16))
        self.radio_day.setChecked(True)
        self.radio_day.setObjectName("radio_day")
        self.radio_month = QtWidgets.QRadioButton(self.centralwidget)
        self.radio_month.setGeometry(QtCore.QRect(200, 15, 89, 16))
        self.radio_month.setObjectName("radio_month")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(10, 36, 101, 31))
        font = QtGui.QFont()
        font.setFamily("Adobe Devanagari")
        font.setPointSize(12)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.data_width = QtWidgets.QLineEdit(self.centralwidget)
        self.data_width.setGeometry(QtCore.QRect(140, 40, 51, 21))
        self.data_width.setStyleSheet("color: rgb(255, 0, 4);")
        self.data_width.setObjectName("data_width")
        self.data_dot = QtWidgets.QLineEdit(self.centralwidget)
        self.data_dot.setGeometry(QtCore.QRect(250, 40, 51, 21))
        self.data_dot.setStyleSheet("color: rgb(255, 0, 4);")
        self.data_dot.setObjectName("data_dot")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(310, 33, 311, 31))
        font = QtGui.QFont()
        font.setFamily("Consolas")
        font.setPointSize(9)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(110, 36, 31, 31))
        font = QtGui.QFont()
        font.setFamily("Adobe Devanagari")
        font.setPointSize(9)
        self.label_4.setFont(font)
        self.label_4.setStyleSheet("color: rgb(255, 0, 4);")
        self.label_4.setObjectName("label_4")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setGeometry(QtCore.QRect(200, 36, 51, 31))
        font = QtGui.QFont()
        font.setFamily("Adobe Devanagari")
        font.setPointSize(9)
        self.label_5.setFont(font)
        self.label_5.setStyleSheet("color: rgb(255, 0, 4);")
        self.label_5.setObjectName("label_5")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1216, 23))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.button_in.setText(_translate("MainWindow", "输入文件夹"))
        item = self.data_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "名称"))
        item = self.data_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "类型"))
        item = self.data_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "宽度"))
        item = self.data_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "小数位数"))
        item = self.data_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "标签"))
        item = self.data_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "值"))
        item = self.data_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "缺失"))
        item = self.data_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "列"))
        item = self.data_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "对齐"))
        item = self.data_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "测量"))
        item = self.data_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "角色"))
        self.button_out.setText(_translate("MainWindow", "输出文件夹"))
        self.btn_end.setText(_translate("MainWindow", "关闭"))
        self.btn_star.setText(_translate("MainWindow", "开始处理"))
        self.label.setText(_translate("MainWindow", "源数据类型："))
        self.radio_day.setText(_translate("MainWindow", "日值数据"))
        self.radio_month.setText(_translate("MainWindow", "月值数据"))
        self.label_2.setText(_translate("MainWindow", "统一的数据："))
        self.data_width.setPlaceholderText(_translate("MainWindow", "默认10"))
        self.data_dot.setPlaceholderText(_translate("MainWindow", "默认2"))
        self.label_3.setText(_translate("MainWindow", "用来设置大量需要重复设置的数据：1-31日或1-12月"))
        self.label_4.setText(_translate("MainWindow", "宽度"))
        self.label_5.setText(_translate("MainWindow", "小数位数"))
